package model;

import java.util.Vector;

public class CFCQuery
{
	private int number;
	private String string;
	private int numberOfDocuments;
	private Vector<CFCRank> ranking;
	
	public CFCQuery()
	{
		this.ranking = new Vector<CFCRank>();
	}

	public void addRankingEntry(int document,int rew,int collegues, int postDocs, int jbw)
	{
		CFCRank r = new CFCRank();
		r.setDocument(document);
		r.setRew(rew);
		r.setColleagues(collegues);
		r.setPostDocs(postDocs);
		r.setJbw(jbw);

		this.ranking.add(r);
	}
	
	public int getNumber()
	{
		return this.number;
	}

	public void setNumber(int number)
	{
		this.number = number;
	}

	public String getString()
	{
		return this.string;
	}

	public void setString(String string)
	{
		this.string = string;
	}

	public int getNumberOfDocuments()
	{
		return this.numberOfDocuments;
	}

	public void setNumberOfDocuments(int numberOfDocuments)
	{
		this.numberOfDocuments = numberOfDocuments;
	}

	public Vector<CFCRank> getRanking()
	{
		return this.ranking;
	}

	public void setRanking(Vector<CFCRank> ranking)
	{
		this.ranking = ranking;
	}
}
